package org.jeecg.modules.power.user.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 会员列表
 * @Author: jeecg-boot
 * @Date:   2024-07-05
 * @Version: V1.0
 */
@Data
@TableName("yl_user")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="yl_user对象", description="会员列表")
public class YlUser implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id 主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id 主键")
    private String id;
	/**头像*/
	@Excel(name = "头像", width = 15)
    @ApiModelProperty(value = "头像")
    private String avatar;
	/**昵称*/
	@Excel(name = "昵称", width = 15)
    @ApiModelProperty(value = "昵称")
    private String nickname;
	/**手机号*/
	@Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
    private String tel;
	/**wxopenid*/
	@Excel(name = "wxopenid", width = 15)
    @ApiModelProperty(value = "wxopenid")
    private String openid;
	/**WXunionid*/
	@Excel(name = "WXunionid", width = 15)
    @ApiModelProperty(value = "WXunionid")
    private String unionid;
	/**支付宝openid*/
	@Excel(name = "支付宝openid", width = 15)
    @ApiModelProperty(value = "支付宝openid")
    private String aliOpenid;
	/**支付宝用户id*/
	@Excel(name = "支付宝用户id", width = 15)
    @ApiModelProperty(value = "支付宝用户id")
    private String aliUserId;
	/**是否是会员0否1是*/
	@Excel(name = "是否是会员0否1是", width = 15)
    @ApiModelProperty(value = "是否是会员0否1是")
    private Integer isMember;
	/**会员开始时间*/
	@Excel(name = "会员开始时间", width = 15)
    @ApiModelProperty(value = "会员开始时间")
    private Date beginTime;
	/**会员到期时间*/
	@Excel(name = "会员到期时间", width = 15)
    @ApiModelProperty(value = "会员到期时间")
    private Date endTime;
	/**用户来源 0微信 1支付宝*/
	@Excel(name = "用户来源 0微信 1支付宝", width = 15)
    @ApiModelProperty(value = "用户来源 0微信 1支付宝")
    private Integer source;
    /**1-正常,2-冻结*/
    private Integer status;
	/**注册时间*/
    @ApiModelProperty(value = "注册时间")
    private Date createTime;
	/**更新时间*/
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "会员卡id")
    private String memberId;


    @ApiModelProperty(value = "会员卡订单id")
    private String memberOrderId;
}
